<?xml version="1.0" encoding="UTF-8" standalone="no"?><HBRRepo><variables/><rulesets/><rules/><components><component id="1" name="Yearly_Trends" product="Planning" type="script"><property name="application">HP4</property><property name="plantype">OEP_FS</property><property name="display_label">Yearly_Trends</property><property name="seeded">true</property><script type="calcscript"><![CDATA[if("OFS_Trend"->"BegBalance"==10)							
	if(@prior("OEP_Yearly Plan"->"OFS_Total Plan",1,@levmbrs("Years",0))<>#Missing)						
		if(@isuda("Account","CalcRound"))					
			OFS_Calculated=@Round(@Prior("OFS_Total Plan",1,@LEVMBRS ("Years", 0))*(1+"OFS_% Increase/(Decrease)"->"BegBalance"));				
		else					
			OFS_Calculated=@Prior("OFS_Total Plan",1,@LEVMBRS ("Years", 0))*(1+"OFS_% Increase/(Decrease)"->"BegBalance");				
		endif					
	elseif(@prior("OEP_Qrtly Plan"->"OFS_Total Plan",1,@levmbrs("Years",0))<>#Missing)						
		if(@isuda("Account","CalcRound"))					
			OFS_Calculated=@Round(@Prior("OFS_Total Plan"->"Qrtly Plan",1,@LEVMBRS ("Years", 0))*(1+"OFS_% Increase/(Decrease)"->"BegBalance"));				
		else					
			OFS_Calculated=@Prior("OFS_Total Plan"->"Qrtly Plan",1,@LEVMBRS ("Years", 0))*(1+"OFS_% Increase/(Decrease)"->"BegBalance");				
		endif					
	elseif(@prior("YearTotal"->"OFS_Total Plan",1,@levmbrs("Years",0))<>#Missing)						
		if(@isuda("Account","CalcRound"))					
			OFS_Calculated=@Round(@Prior("OFS_Total Plan"->"YearTotal",1,@LEVMBRS ("Years", 0))*(1+"OFS_% Increase/(Decrease)"->"BegBalance"));				
		else					
			OFS_Calculated=@Prior("OFS_Total Plan"->"YearTotal",1,@LEVMBRS ("Years", 0))*(1+"OFS_% Increase/(Decrease)"->"BegBalance");				
		endif					
	endif						
							
elseif("OFS_Trend"->BegBalance==12)							
			OFS_Calculated=#missing;				
elseif("OFS_Trend"->BegBalance==#missing and "OFS_Adjustment (+/-)"<>#missing)	
			OFS_Calculated=0;
			OFS_Calculated=#missing;				
endif							


]]></script></component></components></HBRRepo>